import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

Vue.component('TestH', {
  render: function (createElement) {
    return createElement(
        'h' + this.level,
        this.$slots.default
    )
  },
  props: {
    level: Number,
    // eslint-disable-next-line vue/require-prop-type-constructor
    required: true
  }
})

new Vue({
  render: h => h(App),
}).$mount('#app')
